package com.goods.business.controller;

import com.goods.business.service.ConsumerService;
import com.goods.common.vo.business.ConsumerVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class ConsumerController {
    @Autowired
    ConsumerService consumerService;

    public List<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, String name, String address, String contact) {
       return consumerService.findConsumerList(pageNum,pageSize,name,address,contact);
    }
}
